import request from '@/utils/request'

// 查询水质检测仪-实时数据列表
export function listWqRealtimeGatherData(query) {
  return request({
    url: '/swla2/wqRealtimeGatherData/list',
    method: 'get',
    params: query
  })
}

// 查询水质检测仪-实时数据详细
export function getWqRealtimeGatherData(ID) {
  return request({
    url: '/swla2/wqRealtimeGatherData/' + ID,
    method: 'get'
  })
}

// 新增水质检测仪-实时数据
export function addWqRealtimeGatherData(data) {
  return request({
    url: '/swla2/wqRealtimeGatherData',
    method: 'post',
    data: data
  })
}

// 修改水质检测仪-实时数据
export function updateWqRealtimeGatherData(data) {
  return request({
    url: '/swla2/wqRealtimeGatherData',
    method: 'put',
    data: data
  })
}

// 删除水质检测仪-实时数据
export function delWqRealtimeGatherData(ID) {
  return request({
    url: '/swla2/wqRealtimeGatherData/' + ID,
    method: 'delete'
  })
}
